package com.skt.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.skt.common.annotation.Excel;
import com.skt.common.core.domain.BaseEntity;

/**
 * 意见收集对象 feedback
 * 
 * @author ffbaby
 * @date 2025-02-26
 */
public class Feedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 反馈ID */
    private Long feedbackId;

    /** 反馈类型 */
    @Excel(name = "反馈类型")
    private String type;

    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String content;

    /** 联系方式，用于回复反馈者（可选） */
    @Excel(name = "联系方式，用于回复反馈者", readConverterExp = "可=选")
    private String contactInfo;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date submittedAt;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String status;

    /** 医院的回复内容 */
    @Excel(name = "医院的回复内容")
    private String response;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date respondedAt;

    public void setFeedbackId(Long feedbackId) 
    {
        this.feedbackId = feedbackId;
    }

    public Long getFeedbackId() 
    {
        return feedbackId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }
    public void setSubmittedAt(Date submittedAt) 
    {
        this.submittedAt = submittedAt;
    }

    public Date getSubmittedAt() 
    {
        return submittedAt;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setResponse(String response) 
    {
        this.response = response;
    }

    public String getResponse() 
    {
        return response;
    }
    public void setRespondedAt(Date respondedAt) 
    {
        this.respondedAt = respondedAt;
    }

    public Date getRespondedAt() 
    {
        return respondedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedbackId", getFeedbackId())
            .append("type", getType())
            .append("content", getContent())
            .append("contactInfo", getContactInfo())
            .append("submittedAt", getSubmittedAt())
            .append("status", getStatus())
            .append("response", getResponse())
            .append("respondedAt", getRespondedAt())
            .toString();
    }
}
